package com.kahriboo.log4mon.shared;

import java.io.Serializable;

/**
 * The Class LogEventShared.
 */
public class LogEventShared implements Serializable {

	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 922720366302698682L;

	/** The level. */
	private int level;

	/** The class name. */
	private String className;

	/** The method name. */
	private String methodName;

	/** The file name. */
	private String fileName;

	/** The line number. */
	private int lineNumber;

	/** The logger name. */
	private String loggerName;

	/** The message. */
	private String message;

	/** The thread name. */
	private String threadName;

	/** The throwable. */
	private String[] throwable;

	/** The throwable class. */
	private String throwableClass;

	/** The time stamp. */
	private long timeStamp;

	/**
	 * Instantiates a new log event shared.
	 */
	public LogEventShared() {

	}

	/**
	 * Gets the level.
	 * 
	 * @return the level
	 */
	public int getLevel() {
		return level;
	}

	/**
	 * Sets the level.
	 * 
	 * @param level the new level
	 */
	public void setLevel(final int level) {
		this.level = level;
	}

	/**
	 * Gets the class name.
	 * 
	 * @return the class name
	 */
	public String getClassName() {
		return className;
	}

	/**
	 * Sets the class name.
	 * 
	 * @param className the new class name
	 */
	public void setClassName(final String className) {
		this.className = className;
	}

	/**
	 * Gets the method name.
	 * 
	 * @return the method name
	 */
	public String getMethodName() {
		return methodName;
	}

	/**
	 * Sets the method name.
	 * 
	 * @param methodName the new method name
	 */
	public void setMethodName(final String methodName) {
		this.methodName = methodName;
	}

	/**
	 * Gets the file name.
	 * 
	 * @return the file name
	 */
	public String getFileName() {
		return fileName;
	}

	/**
	 * Sets the file name.
	 * 
	 * @param fileName the new file name
	 */
	public void setFileName(final String fileName) {
		this.fileName = fileName;
	}

	/**
	 * Gets the line number.
	 * 
	 * @return the line number
	 */
	public int getLineNumber() {
		return lineNumber;
	}

	/**
	 * Sets the line number.
	 * 
	 * @param lineNumber the new line number
	 */
	public void setLineNumber(final int lineNumber) {
		this.lineNumber = lineNumber;
	}

	/**
	 * Gets the logger name.
	 * 
	 * @return the logger name
	 */
	public String getLoggerName() {
		return loggerName;
	}

	/**
	 * Sets the logger name.
	 * 
	 * @param loggerName the new logger name
	 */
	public void setLoggerName(final String loggerName) {
		this.loggerName = loggerName;
	}

	/**
	 * Gets the message.
	 * 
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}

	/**
	 * Sets the message.
	 * 
	 * @param message the new message
	 */
	public void setMessage(final String message) {
		this.message = message;
	}

	/**
	 * Gets the thread name.
	 * 
	 * @return the thread name
	 */
	public String getThreadName() {
		return threadName;
	}

	/**
	 * Sets the thread name.
	 * 
	 * @param threadName the new thread name
	 */
	public void setThreadName(final String threadName) {
		this.threadName = threadName;
	}

	/**
	 * Gets the throwable.
	 * 
	 * @return the throwable
	 */
	public String[] getThrowable() {
		return throwable;
	}

	/**
	 * Sets the throwable.
	 * 
	 * @param throwable the new throwable
	 */
	public void setThrowable(final String[] throwable) {
		this.throwable = throwable;
	}

	/**
	 * Gets the throwable class.
	 * 
	 * @return the throwable class
	 */
	public String getThrowableClass() {
		return throwableClass;
	}

	/**
	 * Sets the throwable class.
	 * 
	 * @param throwableClass the new throwable class
	 */
	public void setThrowableClass(final String throwableClass) {
		this.throwableClass = throwableClass;
	}

	/**
	 * Gets the time stamp.
	 * 
	 * @return the time stamp
	 */
	public long getTimeStamp() {
		return timeStamp;
	}

	/**
	 * Sets the time stamp.
	 * 
	 * @param timeStamp the new time stamp
	 */
	public void setTimeStamp(final long timeStamp) {
		this.timeStamp = timeStamp;
	}

}
